//
//  OrderModel.h
//  JackDeve
//
//  Created by 王奎卿 on 2017/5/10.
//  Copyright © 2017年 wkq. All rights reserved.
//

#import <Foundation/Foundation.h>

@class OrderModel_One;

@interface OrderModel : NSObject

/**
 *  订单ID
 */
@property (nonatomic,strong) NSString *order_id;

/**
 *  订单号
 */
@property (nonatomic,strong) NSString *order_sn;

/**
 *  实付金额
 */
@property (nonatomic,strong) NSString *order_fee;

/**
 *  订单状态
 */
@property (nonatomic,strong) NSString *order_status;

/**
 *  付款方式
 */
@property (nonatomic,strong) NSString *payment_type;

/**
 *  商家名
 */
@property (nonatomic,strong) NSString *diner_name;

/**
 *  商品类型：wxpay微信,alipay阿里云,topay货道付款,balance账户余额
 */
@property (nonatomic,strong) NSString *diner_type;

/**
 *  评论状态：0订单未评论，1已评论
 */
@property (nonatomic,strong) NSString *is_commented;

/**
 *  详情数组
 */
@property (nonatomic,strong) NSArray *goods;

@end


@interface OrderModel_One : NSObject

/**
 *  订单ID
 */
@property (nonatomic,strong) NSString *order_id;

/**
 *  商品名
 */
@property (nonatomic,strong) NSString *goods_name;

/**
 *  商品图片
 */
@property (nonatomic,strong) NSString *goods_pic;

/**
 *  商品价格
 */
@property (nonatomic,strong) NSString *goods_price;

/**
 *  商品数量
 */
@property (nonatomic,strong) NSString *num;

@property (nonatomic,strong) OrderModel *model;

@end
